package com.fan.service;

import com.fan.entity.User;

import java.util.List;

public interface UserService {

    User login(String userName, String passWord);

    User selectByName(String userName);

    int insertUser(int userId,String userName, String passWord);

    int getCount();

    List<User> getAllUser();
}
